import 'package:flutter/material.dart';

class RectTab extends StatelessWidget {
  const RectTab({super.key, required this.name});

  final String name;

  @override
  Widget build(BuildContext context) {
    return Container(
      alignment: Alignment.center,
      height: 40,
      decoration: const BoxDecoration(
          borderRadius: BorderRadius.all(Radius.circular(30))),
      // padding: const EdgeInsets.only(left: 20, right: 20),
      child: Text(name),
    );
  }
}
